//
//  ZViewController.m
//  ZKit
//
//  Created by zhaochangwu on 04/03/2024.
//  Copyright (c) 2024 zhaochangwu. All rights reserved.
//

#import "ZViewController.h"
#import <ZKit/ZGradientView.h>

@interface ZViewController ()

@end

@implementation ZViewController

- (void)viewDidLoad
{
    [super viewDidLoad];

    ZGradientView *gv = [[ZGradientView alloc] init];
    gv.colors = @[UIColor.cyanColor, UIColor.greenColor];
    gv.startPoint = CGPointMake(0, 0);
    gv.endPoint = CGPointMake(0, 1);
    gv.frame = CGRectMake(100, 100, 100, 100);
    [self.view addSubview:gv];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
